package com.atguigu.mapper;

import com.atguigu.dto.product.CategoryBrandDto;
import com.atguigu.entity.product.Brand;
import com.atguigu.entity.product.CategoryBrand;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CategoryBrandMapper {
    List<Brand> findBrandByCategoryId(Long categoryId);

    void submit(CategoryBrand categoryBrand);

    List<CategoryBrand> page(CategoryBrandDto categoryBrandDto);
}
